package com.pw.demo3.mapper;

import com.pw.demo3.bean.EmployeeRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface EmployeeRoleMapper {
    int insert(EmployeeRole record);

    List<EmployeeRole> selectAll();

    List<EmployeeRole> selectById(Long id);

    int deleteById(Long id);
}